package com.example.gulimall.order.feign;

import com.example.gulimall.order.vo.MemberAddressVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;

import java.util.List;

@FeignClient("gulimall-member")
public interface MemberFeignService {
    @PostMapping("/{id}/address")
    public List<MemberAddressVo> getAddressById(@PathVariable("id") Long id);
}
